package com.maoning.ware.feign;

import com.maoning.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author : 猫宁
 * @Date: 2021/12/4
 */
@FeignClient(value = "gulimall-gateway")
public interface ProductFeignService {

    @RequestMapping("/api/product/skuinfo/info/{skuId}")
    public R skuInfo(@PathVariable("skuId") Long skuId);
}
